package com.contest.util;

import java.io.Serializable;
import java.util.List;

public class MenuTree<T> implements Serializable {

    private String name;
    private String icon;
    private String url;
    private List<MenuTree<T>> children;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List<MenuTree<T>> getChildren() {
        return children;
    }

    public void setChildren(List<MenuTree<T>> children) {
        this.children = children;
    }
}
